package com.by.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author gwq
 * @since 2025-04-14
 */
@Data
@TableName("li_member_address")
@ApiModel(value="会员地址")
public class MemberAddress {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "删除标志 true/false 删除/未删除")
    @TableField("delete_flag")
    private String deleteFlag;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "地址别名")
    @TableField("alias")
    private String alias;

    @ApiModelProperty(value = "地址ID")
    @TableField("consignee_address_id_path")
    private String consigneeAddressIdPath;

    @ApiModelProperty(value = "地址名称")
    @TableField("consignee_address_path")
    private String consigneeAddressPath;

    @ApiModelProperty(value = "详细地址")
    @TableField("detail")
    private String detail;

    @ApiModelProperty(value = "是否为默认收货地址")
    @TableField("is_default")
    private Boolean isDefault;

    @ApiModelProperty(value = "纬度")
    @TableField("lat")
    private String lat;

    @ApiModelProperty(value = "经度")
    @TableField("lon")
    private String lon;

    @ApiModelProperty(value = "会员ID")
    @TableField("member_id")
    private Long memberId;

    @ApiModelProperty(value = "手机号码")
    @TableField("mobile")
    private String mobile;

    @ApiModelProperty(value = "收货人姓名")
    @TableField("name")
    private String name;


}
